package com.valley.dream.birds.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Valley
 * Created by Valley on 2022/7/6
 */

@Data
@TableName(value = "birds_user")
public class User {

    @TableId
    private Long id;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("gender")
    private String gender;

    @TableField("level")
    private Integer level;

    @TableField("level_value")
    private Long levelValue;

    @TableField("gold_coin")
    private Long goldCoin;

    @TableField("yuan_bao")
    private Integer yuanBao;

    @TableField("love_value")
    private Integer loveValue;

    @TableField("flower")
    private Integer flower;

    @TableField("create_time")
    private String createTime;

    @TableLogic("flag")
    private Integer flag;

}
